package top.lunarye.api.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.lunarye.common.domaim.TaskInfo;
import top.lunarye.support.pipeline.ProcessModel;

import java.util.List;

/**
 * @author lunar
 * @since 2022-07-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SendTaskModel implements ProcessModel {

    /**
     * 消息模板ID
     */
    private Long messageTemplateId;

    /**
     * 请求参数列表
     */
    private List<MessageParam> messageParamList;

    /**
     * 发送任务的信息
     */
    private List<TaskInfo> taskInfo;
}
